.class Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$2;
.super Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/ChromeClientWrapper;
.source "RewardsView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;->setWebChromeClient(Landroid/webkit/WebChromeClient;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;


# direct methods
.method constructor <init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;Landroid/webkit/WebChromeClient;)V
    .locals 0
    .parameter
    .parameter "x0"

    .prologue
    .line 316
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$2;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

    invoke-direct {p0, p2}, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/ChromeClientWrapper;-><init>(Landroid/webkit/WebChromeClient;)V

    return-void
.end method


# virtual methods
.method public onConsoleMessage(Ljava/lang/String;ILjava/lang/String;)V
    .locals 6
    .parameter "message"
    .parameter "lineNumber"
    .parameter "sourceID"

    .prologue
    .line 337
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;->LOG:Lcom/burstly/lib/util/LoggerExt;

    const-string v1, "RewardsView"

    const-string v2, "console.log({0}, line {1})"

    const/4 v3, 0x2

    new-array v3, v3, [Ljava/lang/Object;

    const/4 v4, 0x0

    aput-object p1, v3, v4

    const/4 v4, 0x1

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v3, v4

    invoke-virtual {v0, v1, v2, v3}, Lcom/burstly/lib/util/LoggerExt;->logDebug(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 338
    invoke-super {p0, p1, p2, p3}, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/ChromeClientWrapper;->onConsoleMessage(Ljava/lang/String;ILjava/lang/String;)V

    .line 339
    return-void
.end method

.method public onJsAlert(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z
    .locals 1
    .parameter "view"
    .parameter "url"
    .parameter "message"
    .parameter "result"

    .prologue
    .line 321
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$2;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

    invoke-virtual {v0, p3}, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;->dispatchAction(Ljava/lang/String;)V

    .line 322
    invoke-super {p0, p1, p2, p3, p4}, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/ChromeClientWrapper;->onJsAlert(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z

    .line 323
    invoke-virtual {p4}, Landroid/webkit/JsResult;->confirm()V

    .line 324
    const/4 v0, 0x1

    return v0
.end method
